package com.example.demo.api.ecom;

import com.github.lianjiatech.retrofit.spring.boot.annotation.RetrofitClient;
import retrofit2.http.GET;
import retrofit2.http.Path;

@RetrofitClient(baseUrl = "${ecom.common.base}")
public interface CommonApi {
    /**
     * <p> 配置: commonservice.url (PropertiesUtil)
     * <p> 请求头: apikey
     */
    @GET("v2/addressrule/{country}/B2C")
    Object addressrule(@Path("country") String country);


}
